package me.macd.mindoc.model;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Date;

/**
 * @program: mindoc
 * @description: ${description}
 * @author: 2018-10-01
 * @create: 2018-10-01 21:16
 */
public class MemberRelationshipResult {
    @JsonProperty("member_id")
    private Integer memberId;

    private String account;

    @JsonProperty("real_name")
    private String realName;

    private String description;

    private String email;

    private String phone;

    private String avatar;

    //用户角色：0 管理员/ 1 普通用户
    private Integer role;

    //用户状态：0 正常/1 禁用
    private Integer status;

    @JsonProperty("create_time")
    private Date createTime;

    @JsonProperty("create_at")
    private Integer createAt;

    @JsonProperty("relationship_id")
    private Integer relationshipId;

    @JsonProperty("book_id")
    private Integer bookId;

    // RoleId 角色：0 创始人(创始人不能被移除) / 1 管理员/2 编辑者/3 观察者
    @JsonProperty("role_id")
    private Integer roleId;

    @JsonProperty("role_name")
    private Integer roleName;

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Integer createAt) {
        this.createAt = createAt;
    }

    public Integer getRelationshipId() {
        return relationshipId;
    }

    public void setRelationshipId(Integer relationshipId) {
        this.relationshipId = relationshipId;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getRoleName() {
        return roleName;
    }

    public void setRoleName(Integer roleName) {
        this.roleName = roleName;
    }
}
